package com.java.Work2;
//继承Phone类
public class OldPhone extends Phone {
    //方法重写
    @Override
    public void call() {
        System.out.println("打电话");
    }

    @Override
    public void sendMessage() {
        System.out.println("发信息");
    }
}
